package cn.king.springframework.beans.factory.support;

import cn.king.springframework.beans.BeanException;
import cn.king.springframework.core.io.Resource;
import cn.king.springframework.core.io.ResourceLoader;


public interface BeanDefinitionReader {
    BeanDefinitionRegistry getRegistry();
    ResourceLoader getResourceLoader();

    void loadBeanDefinitions(Resource resource) throws BeanException;

    void loadBeanDefinitions(Resource ... resources) throws BeanException;

    void loadBeanDefinitions(String location) throws BeanException;
}
